<AppUpload
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
  :data="record"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
  :data="store.layoutData"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
  :data="store.data"
{{/eq}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.method}}
  method="{{item.psEditor.editorParams.method}}"
  {{/if}}
  {{#if item.psEditor.editorParams.showUploadList}}
  :showUploadList="{{item.psEditor.editorParams.showUploadList}}"
  {{/if}}
  {{#if item.psEditor.editorParams.fallback}}
  fallback="{{item.psEditor.editorParams.fallback}}"
  {{/if}}
  {{#if item.psEditor.editorParams.rowPreview}}
  :rowPreview="{{item.psEditor.editorParams.rowPreview}}"
  {{/if}}
  {{#if item.psEditor.editorParams.uploadparams}}
  :uploadparams="{{item.psEditor.editorParams.uploadparams}}"
  {{/if}}
  {{#if item.psEditor.editorParams.exportparams}}
  :exportparams="{{item.psEditor.editorParams.exportparams}}"
  {{/if}}
  {{#if item.psEditor.editorParams.isdrop}}
  :isdrop="{{item.psEditor.editorParams.isdrop}}"
  {{/if}}
  {{#if item.psEditor.editorParams.imageOnly}}
  :imageOnly="{{item.psEditor.editorParams.imageOnly}}"
  {{/if}}
  {{#if item.psEditor.editorParams.pdfOnly}}
  :pdfOnly="{{item.psEditor.editorParams.pdfOnly}}"
  {{/if}}
  {{#if item.psEditor.editorParams.tooltip}}
   tooltip="{{item.psEditor.editorParams.tooltip}}"
  {{/if}}
{{/if}}
{{#if (or (eq item.psEditor.editorType "PICTURE") (eq item.psEditor.editorType 'PICTURE_ONE'))}}
  listType="picture-card"
  accept='image/*'
  {{#eq item.psEditor.editorType 'PICTURE_ONE'}}
  :multiple='false'
  :maxCount="1"
  {{/eq}}
  {{#eq item.psEditor.editorType 'PICTURE'}}
  {{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.multiple}}
  :multiple="{{item.psEditor.editorParams.multiple}}"
  {{/if}}
  {{#if item.psEditor.editorParams.limit}}
  :maxCount="{{item.psEditor.editorParams.limit}}"
  {{/if}}
  {{/if}}
  {{/eq}}
{{/if}}
{{#eq item.psEditor.editorType 'FILEUPLOADER_ONE'}}
  :multiple='false'
  :maxCount="1"
{{/eq}}
{{#eq  item.psEditor.editorType 'FILEUPLOADER'}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.multiple}}
  :multiple="{{item.psEditor.editorParams.multiple}}"
  {{/if}}
  {{#if item.psEditor.editorParams.limit}}
  :maxCount="{{item.psEditor.editorParams.limit}}"
  {{/if}}
  {{#if item.psEditor.editorParams.accept}}
  :accept="{{item.psEditor.editorParams.accept}}"
  {{/if}}
  {{/if}}
{{/eq}}
{{#if (eq ctrlType 'form')}}
  :disabled="store.detailModel.{{item.codeName}}.disabled"  
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#if item.psEditor.readOnly}}
  :readonly="{{item.psEditor.readOnly}}"
{{/if}}
  style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
  @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
/>
